import React, { Component } from 'react';
import { List } from 'antd-mobile';
import { withRouter } from 'react-router-dom';

class ToolsList extends Component {
    render() {
        return (
            <div className='toolslist'>
                <List>
                    <List.Item onClick={() => { this.props.history.push('/addresslist') }}>
                        地址管理
                    </List.Item>
                    <List.Item onClick={() => { }}>
                        我的收藏夹
                    </List.Item>
                    <List.Item onClick={() => { }}>
                        关于我们
                    </List.Item>
                </List>
            </div>
        );
    }
}

export default withRouter(ToolsList);